import request from '@/utils/request'

// 查询技能管理列表
export function listSkillmanagement(query) {
  return request({
    url: '/system/skillmanagement/list',
    method: 'get',
    params: query
  })
}

// 查询技能管理详细
export function getSkillmanagement(id) {
  return request({
    url: '/system/skillmanagement/' + id,
    method: 'get'
  })
}

// 新增技能管理
export function addSkillmanagement(data) {
  return request({
    url: '/system/skillmanagement',
    method: 'post',
    data: data
  })
}

// 修改技能管理
export function updateSkillmanagement(data) {
  return request({
    url: '/system/skillmanagement',
    method: 'put',
    data: data
  })
}

// 删除技能管理
export function delSkillmanagement(id) {
  return request({
    url: '/system/skillmanagement/' + id,
    method: 'delete'
  })
}
